//
//  IdeaViewController.swift
//  MyTest
//
//  Created by guanzhongwang on 2021/5/11.
//

import UIKit
// 创作中心
class IdeaViewController: CommonViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        title = "创作中心"
        
        let item = UIBarButtonItem.init(title: "+ 发布", style: .plain, target: self, action: #selector(createNews))
        self.navigationItem.rightBarButtonItem = item
        
    }
    @objc func createNews(){
        
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
